package cn.stephen.study.demoproject.dao.dbone;

import cn.stephen.study.demoproject.entity.Patrol;
import cn.stephen.study.demoproject.entity.Report;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface ReportMapper {

    List<Report> findAllByValue(@Param("type") Integer type,
                                @Param("startTime") String startTime, @Param("endTime") String endTime);

    String findById(String id);

    int insetReport(Report report);
    Report findByFileName(String path);
}
